package cn.com.petrochina.lpm3.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName PC_COMP_PRO_PLAN_DAILY
 */
@TableName(value = "PC_COMP_PRO_PLAN_DAILY")
@Data
public class CompProPlanDaily implements Serializable {
    /**
     * 唯一的井标识符，独立且唯一，引用“井(CD_WELL_SOURCE)表的井ID(WELL_ID)字段”
     */
    @MppMultiId
    @TableField(value = "WELL_ID")
    private String wellId;

    /**
     * 填写格式：YYYY-MM-DD
     */
    @MppMultiId
    @TableField(value = "PROD_DATE")
    private Date prodDate;

    /**
     * 单井计划月度日产油水平 T
     */
    @TableField(value = "OIL_PROD_DAILY")
    private BigDecimal oilProdDaily;

    /**
     * 单井计划月度日产气水平 M^3
     */
    @TableField(value = "GAS_PROD_DAILY")
    private BigDecimal gasProdDaily;

    /**
     * 计划生产时间 h
     */
    @TableField(value = "PROD_TIME_PLAN")
    private Integer prodTimePlan;

    /**
     * 创建日期
     */
    @TableField(value = "CREATE_DATE")
    private Date createDate;

    /**
     * 创建用户ID
     */
    @TableField(value = "CREATE_USER_ID")
    private String createUserId;

    /**
     * 审核日期
     */
    @TableField(value = "VERIFY_DATE")
    private Date verifyDate;

    /**
     * 审核用户ID
     */
    @TableField(value = "VERIFY_USER_ID")
    private String verifyUserId;

    /**
     * 最后更新日期
     */
    @TableField(value = "UPDATE_DATE")
    private Date updateDate;

    /**
     * 最后更新用户ID
     */
    @TableField(value = "UPDATE_USER_ID")
    private String updateUserId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}